package com.jams.goodox.entity.resp;

import com.jams.goodox.entity.PageInfoBean;
import com.jams.goodox.entity.RedPacket;
import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by jams on 2016/8/23.
 * ***
 * Tel: ***
 */

public class CanUseRedPacketResp extends BaseEntity {

    /**
     * pageInfo : {"curPage":1,"hasMore":false,"pageSize":20}
     * resultList : [{"community":"","exchange":"任意抵扣","money":"6.00","redPacketId":"716018ce-2ca1-11e6-a016-00163e005381","redPacketType":"1","redPacketTypeName":"通用红包","serviceName":"","subCommunityId":"","validDate":"2016-06-30"}]
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * curPage : 1
         * hasMore : false
         * pageSize : 20
         */

        private PageInfoBean pageInfo;
        /**
         * community :
         * exchange : 任意抵扣
         * money : 6.00
         * redPacketId : 716018ce-2ca1-11e6-a016-00163e005381
         * redPacketType : 1
         * redPacketTypeName : 通用红包
         * serviceName :
         * subCommunityId :
         * validDate : 2016-06-30
         */

        private List<RedPacket> resultList;

        public PageInfoBean getPageInfo() {
            return pageInfo;
        }

        public void setPageInfo(PageInfoBean pageInfo) {
            this.pageInfo = pageInfo;
        }

        public List<RedPacket> getResultList() {
            return resultList;
        }

        public void setResultList(List<RedPacket> resultList) {
            this.resultList = resultList;
        }
    }
}
